package cn.wolfcode.crmspringboot.mapper;

import cn.wolfcode.crmspringboot.domain.Notice;
import cn.wolfcode.crmspringboot.query.QueryObject;
import org.apache.ibatis.annotations.Param;
import org.aspectj.weaver.ast.Not;

import java.util.List;

public interface NoticeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Notice record);

    Notice selectByPrimaryKey(Long id);

    List<Notice> selectAll();

    int updateByPrimaryKey(Notice record);

    List<Notice> selectForList(@Param("qo") QueryObject qo, @Param("id") Long id);


    void insertById(@Param("id") Long id, @Param("empId") Long empId);
}